﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Acme.BookStore.Storage.DTO
{
    public class CreateUpdateReturnOrderDto
    {
        [Required]
        [StringLength(50)]
        public string ReturnOrderNumber { get; set; }

        [Required]
        public int DocumentStatus { get; set; }

        [Required]
        public DateTime ReturnDate { get; set; }

        [Required]
        [StringLength(50)]
        public string Returners { get; set; }

        [Required]
        [StringLength(100)]
        public string ReturnsDepartment { get; set; }

        [Required]
        [StringLength(50)]
        public string Returnee { get; set; }

        [Required]
        [Range(0, int.MaxValue)]
        public int ReturnsNumber { get; set; }

        [Required]
        [Range(0, int.MaxValue)]
        public int ReturnAmount { get; set; }
        public string Phone { get; set; }
        public string ReturnOrderName { get; set; }
    }
}
